package org.example.warehouse.mapper;

import java.util.List;
import org.example.warehouse.domain.MallStoreDetail;

/**
 * 仓库存储详情Mapper接口
 *
 * @author 小孟微信：xiaomengcode
 * @date 2024-04-12
 */
public interface MallStoreDetailMapper
{
    /**
     * 查询仓库存储详情
     *
     * @param storeDetailId 仓库存储详情主键
     * @return 仓库存储详情
     */
    public MallStoreDetail selectMallStoreDetailByStoreDetailId(Long storeDetailId);

    /**
     * 查询仓库存储详情列表
     *
     * @param mallStoreDetail 仓库存储详情
     * @return 仓库存储详情集合
     */
    public List<MallStoreDetail> selectMallStoreDetailList(MallStoreDetail mallStoreDetail);

    public MallStoreDetail selectMallStoreDetailCount(MallStoreDetail mallStoreDetail);



    /**
     * 新增仓库存储详情
     *
     * @param mallStoreDetail 仓库存储详情
     * @return 结果
     */
    public int insertMallStoreDetail(MallStoreDetail mallStoreDetail);

    /**
     * 修改仓库存储详情
     *
     * @param mallStoreDetail 仓库存储详情
     * @return 结果
     */
    public int updateMallStoreDetail(MallStoreDetail mallStoreDetail);
    public int updateMallStoreDetailAccountId(MallStoreDetail mallStoreDetail);


    /**
     * 删除仓库存储详情
     *
     * @param storeDetailId 仓库存储详情主键
     * @return 结果
     */
    public int deleteMallStoreDetailByStoreDetailId(Long storeDetailId);

    /**
     * 批量删除仓库存储详情
     *
     * @param storeDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallStoreDetailByStoreDetailIds(String[] storeDetailIds);
}
